#ifndef STRUCT_TLV_H
#define STRUCT_TLV_H


typedef enum {
	LOGIN = 101,
	REGISTER = 102,
	ACCOUNTDELETE = 103,
	CD = 201,
	LS = 202,
	PWD = 203,
	MKDIR = 204,
	RMDIR = 205,
	RM = 206,
	PUTS = 301,
	GETS = 302,
	NOCOMMAND = 401,
	TREE = 501,
} commandType_t;

typedef struct {
	commandType_t type;
	int length;
	char value[4096];
} tlvPacket_t;


#endif
